/*
 * @Author: your name
 * @Date: 2022-03-29 09:59:01
 * @LastEditTime: 2022-03-29 19:49:06
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \erp_background_system\src\views\index.jsx
 */
import React from 'react';
import Topheader from '../components/topHeader/TopHeader';
import Sidemenu from '../components/sideMenu/sideMenu';
import Container from '../components/container/Container';
import './containerBox.css'
import { Layout } from 'antd';
import { useEffect } from 'react';
import NProgress from 'nprogress';
import 'nprogress/nprogress.css'
const Containerbox = () => {
    NProgress.start()
    useEffect(() => {
        NProgress.done()
    });
    return (
        <Layout>
        <Sidemenu></Sidemenu>
        <Layout className="site-layout">
            <Topheader></Topheader>
            <Container/>
        </Layout>
    </Layout>
    );
}

export default Containerbox;
